<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/1/26
 * Time: 17:20
 */

namespace App\Activities;


class UserSubscribedTranslate extends BaseActivity
{
    public function generate($user)
    {
        $causer      = 'u' . $user->id;
        $this->addActivity($causer, $user, "translate", null);

    }

    public function remove($user)
    {
        $this->removeBy("u$user->id", "translate");
    }
}